aboutsummaryrefslogtreecommitdiffstats
path: root/loki-render [disowned]/watch-
diff options
context:
space:
mode:
Diffstat (limited to 'loki-render [disowned]/watch-')
-rwxr-xr-xloki-render [disowned]/watch-21
1 files changed, 21 insertions, 0 deletions
diff --git a/loki-render [disowned]/watch- b/loki-render [disowned]/watch-
new file mode 100755
index 0000000..d7dd52c
--- /dev/null
+++ b/loki-render [disowned]/watch-
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+[ -f release ] && rm release
+
+wget 'http://loki-render.berlios.de/index.php/download' -O - 2>/dev/null | grep lokiRender > release
+
+if [ $? = 0 ]; then
+ [ -f unfetchable ] && rm unfetchable
+ md5sum release > new-sum
+ touch sum
+ if [ "$(cat sum)" = "$(cat new-sum)" ]; then
+ rm new-sum
+ else
+ mv new-sum sum
+ echo 'loki-render'
+ fi
+elif [ ! -f unfetchable ]; then
+ touch unfetchable
+ echo 'loki-render (unfetchable)'
+fi
+